home *** CD-ROM | disk | FTP | other *** search
- Path: norconnect.no!not-for-mail
- From: kenneth@norconnect.no (Kenneth C. Nilsen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Checksum
- Date: 18 Jan 1996 05:52:29 +0100
- Organization: NorConnect Internet Services AS
- Message-ID: <752.6591T340T472@norconnect.no>
- References: <watchman.01os@jericho.southern.co.nz>
- NNTP-Posting-Host: norconnect.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- >Would someone please explain (or ideally provide) the alogrothim required
- >to create the checksum for a bootblock? I have tried adding up the first
- >two sectors bytewise and longwise, however neither methods appear to be
- >correct and the "RKM: Devices" "additive carry wraparound" doesn't really
- >mean that much to me...
-
- You should use word sizes. I haven't done this for a long time, but I think
- you should add thew whole bootblock word by word (minus the header and
- checksum) and then neg it, someone correct me if I'm wrong.
-
-
- ---
- CREATIVE LINKS __ Kenneth C. Nilsen
- http://www.norconnect.no/~kenneth /_/\ e-mail: kenneth@norconnect.no
- "Everything you want" \_\/ Software & MultiMedia developer
-
-